package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.ArticleExample.E_ARTICLE_TITLE;
import static org.jsola.hr.example.ArticleExample.E_ARTICLE_TYPE_ID;
import static org.jsola.hr.example.ArticleExample.E_BROWSE_NUM;
import static org.jsola.hr.example.ArticleExample.E_CONTENT;
import static org.jsola.hr.example.ArticleExample.E_ISSUE;
import static org.jsola.hr.example.ArticleExample.E_IS_TOP;
import static org.jsola.hr.example.ArticleExample.E_MAIN_PICTURE_URL;
import static org.jsola.hr.example.ArticleExample.E_RELEASE_TIME;
import static org.jsola.hr.example.ArticleExample.N_ARTICLE_TITLE;
import static org.jsola.hr.example.ArticleExample.N_ARTICLE_TYPE_ID;
import static org.jsola.hr.example.ArticleExample.N_BROWSE_NUM;
import static org.jsola.hr.example.ArticleExample.N_CONTENT;
import static org.jsola.hr.example.ArticleExample.N_ISSUE;
import static org.jsola.hr.example.ArticleExample.N_IS_TOP;
import static org.jsola.hr.example.ArticleExample.N_MAIN_PICTURE_URL;
import static org.jsola.hr.example.ArticleExample.N_RELEASE_TIME;

/**
 * 人力文章
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【人力文章】详情展示对象")
@Data
public class ArticleVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private Long id;

    @ApiModelProperty(notes = N_CONTENT, example = E_CONTENT)
    private String content;

    @ApiModelProperty(notes = N_ISSUE, example = E_ISSUE)
    private Integer issue;

    @ApiModelProperty(notes = N_IS_TOP, example = E_IS_TOP)
    private Boolean isTop;

    @ApiModelProperty(notes = N_ARTICLE_TITLE, example = E_ARTICLE_TITLE)
    private String articleTitle;

    @ApiModelProperty(notes = N_ARTICLE_TYPE_ID, example = E_ARTICLE_TYPE_ID)
    private Long articleTypeId;

    @ApiModelProperty(notes = N_RELEASE_TIME, example = E_RELEASE_TIME)
    private Date releaseTime;

    @ApiModelProperty(notes = N_BROWSE_NUM, example = E_BROWSE_NUM)
    private Integer browseNum;

    @ApiModelProperty(notes = N_MAIN_PICTURE_URL, example = E_MAIN_PICTURE_URL)
    private String mainPictureUrl;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

